package cn.kuang.pojo;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author 徽州大都督
 * @date 2020/7/27
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("tab_category")
public class Category {

    @TableId("cid")
    private Integer cid;

    private String cname;

    //@TableField(fill = FieldFill.INSERT_UPDATE)
    //@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
    //@TableLogic
    //@TableField(exist = false)
}
